package com.meizi.sys.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户行为表
 * @author Administration
 * @TableName sys_user_action
 */
@Data
@TableName(value ="sys_user_action")
@EqualsAndHashCode(callSuper = false)
public class SysUserActionEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户行为
     */
    private String actionType;

    /**
     * 操作时间
     */
    private Date actionTime;

    /**
     * 0：存在 1：删除
     */
    @TableLogic(
            value = "0",
            delval = "1"
    )
    private Integer isDelete;


}